package com.tekj.cxqcb.view.Module.adapter;

import android.support.annotation.Nullable;
import android.widget.ImageView;

import com.chad.library.adapter.base.BaseQuickAdapter;
import com.chad.library.adapter.base.BaseViewHolder;
import com.tekj.cxqcb.R;

import java.util.List;

import common.tool.Tools;

public class InformationAnnex2Adapter extends BaseQuickAdapter<String, BaseViewHolder> {

    public InformationAnnex2Adapter(@Nullable List<String> data) {
        super(R.layout.item_information_annex2, data);
    }

    @Override
    protected void convert(BaseViewHolder helper, String item) {

        Tools.picasso(item, (ImageView) helper.getView(R.id.img_photo));

    }
}
